<?php
/* @var \Illuminate\Routing\Router $router */
$router->group([
    'middleware' => [
        \Module\AdminApi\Api\Middleware\AdminApiCheckMiddleware::class
    ],
], function () use ($router) {

    $router->match(['post'], 'admin_api/ping', 'PingController@index');

    $router->match(['post'], 'admin_api/upload/image', 'UploadController@image');
    $router->match(['post'], 'admin_api/upload/image_temp', 'UploadController@imageTemp');
    $router->match(['post'], 'admin_api/upload/file', 'UploadController@file');
    $router->match(['post'], 'admin_api/upload/file_temp', 'UploadController@fileTemp');

});




